// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_a;

import com.nnee.p_p.p_a.cls_a;
import java.math.BigInteger;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;

public class cls_r
{

    public cls_r()
    {
    }

    public static String a(String s)
    {
        String s1=null;
		try {
			s1 = (new BigInteger(1, MessageDigest.getInstance("MD5").digest(s.getBytes()))).toString(16);
		} catch (NoSuchAlgorithmException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
while (true)
{
        String s2;
        if(s1.length() >= 32)
            break ;
        s2 = (new StringBuilder()).append("0").append(s1).toString();
        s1 = s2;
}
        return s1;
    }

    public static String b(String s)
    {
        String s1;
        if(s == null)
            s1 = null;
        else
            s1 = new String(com.nnee.p_p.p_a.cls_a.c(s.getBytes()));
        return s1;
    }

    public static String c(String s)
    {
        String s1;
        if(s == null)
            s1 = null;
        else
            s1 = new String(com.nnee.p_p.p_a.cls_a.e(s.getBytes()));
        return s1;
    }
}
